home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1741 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.umbc.edu!not-for-mail
  2. From: schlein@umbc.edu (Jonas J. Schlein)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Pointer-to-Double as Function Arg
  5. Date: 16 Jan 1996 11:14:23 -0500
  6. Organization: University of Maryland Baltimore County
  7. Message-ID: <4dgisv$r22@umbc9.umbc.edu>
  8. References: <4dfccl$j5h@colossus.holonet.net>
  9. NNTP-Posting-Host: f-umbc9.umbc.edu
  10. NNTP-Posting-User: schlein
  11.  
  12. Mitch Miller <mitch@news.mdli.com> wrote:
  13. |> I'm having a problem with a function that takes a
  14. |> couple of pointer-to-double arguments, initializes then
  15. |> and assigns values to them in an array style:
  16. |> 
  17. |> Function is something like:
  18.  
  19. [incorrect code deleted]
  20.  
  21. |> When I look at the values of Values1 and Values2 in GetValue, they have
  22. |> the correct values.
  23. |> 
  24. |> However, back in main, they have NULL values.
  25.  
  26. <snip>
  27.  
  28. |> I've checked the FAQs, but couldn't find anything quite like this.
  29.  
  30. How far did you get? Your question is answered in question 4.8. Since you
  31. already have the FAQ then looking it up should be trivial.
  32. -- 
  33. "If it wasn't for C, we would be using BASI, PASAL, and OBOL."
  34.  
  35. Jonas J. Schlein  (schlein@gl.umbc.edu)
  36.